/*
 * @Project_description: vue 项目配置文件
 */
'use strict'
const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports={
    transpileDependencies: ['uview-ui','@dcloudio/uni-ui'],
    devServer:{
        client:{
            overlay:false
        }
    },
    configureWebpack:{
        plugins: [
            new CopyWebpackPlugin([
                {
                    from: path.join(__dirname, 'public/_patch'),
                    to: path.join(__dirname, 'dist/build/h5/_patch')
                },
            ])
        ]
    }
}
